package com.rfid.project.model;

import java.util.Date;

import javax.persistence.*;

import biz.core.IdEntity;

@Entity
public class ProjectTaskPerson extends IdEntity {

	// 项目任务
	@ManyToOne
	@JoinColumn(name = "ProjectTaskID")
	private ProjectTask projectTask;

	// 人员
	@ManyToOne
	@JoinColumn(name = "PeopleID")
	private People people;

	// 主责任人标识
	private String chargePersonSign;

	// 职责
	private String duty;
	
	//状态
	private String status;

	// 创建时间
	private Date taskCreateTime;

	// 发布时间
	private Date taskPublishTime;

	// 计划开始日期
	private Date taskBeginDate;

	// 初次计划完成日期
	private Date firstPlanFinishDate;

	// 计划完成日期
	private Date planFinishDate;

	// 实际完成日期
	private Date actualFinishDate;

	// 计划工时数
	private Float planWorktime;

	// 任务领取时间
	private Date taskAcceptTime;

	// 计划完成日期变更次数
	private Integer planFinishDateChangeCount;

	// 填报消耗工时
	private Float originalConsumeWorktime;

	// 确认消耗工时
	private Float confirmConsumeWorktime;

	public ProjectTask getProjectTask() {
		return projectTask;
	}

	public void setProjectTask(ProjectTask projectTask) {
		this.projectTask = projectTask;
	}

	public People getPeople() {
		return people;
	}

	public void setPeople(People people) {
		this.people = people;
	}

	public String getChargePersonSign() {
		return chargePersonSign;
	}

	public void setChargePersonSign(String chargePersonSign) {
		this.chargePersonSign = chargePersonSign;
	}

	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	public Float getOriginalConsumeWorktime() {
		return originalConsumeWorktime;
	}

	public void setOriginalConsumeWorktime(Float originalConsumeWorktime) {
		this.originalConsumeWorktime = originalConsumeWorktime;
	}

	public Float getConfirmConsumeWorktime() {
		return confirmConsumeWorktime;
	}

	public void setConfirmConsumeWorktime(Float confirmConsumeWorktime) {
		this.confirmConsumeWorktime = confirmConsumeWorktime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getTaskCreateTime() {
		return taskCreateTime;
	}

	public void setTaskCreateTime(Date taskCreateTime) {
		this.taskCreateTime = taskCreateTime;
	}

	public Date getTaskPublishTime() {
		return taskPublishTime;
	}

	public void setTaskPublishTime(Date taskPublishTime) {
		this.taskPublishTime = taskPublishTime;
	}

	public Date getTaskBeginDate() {
		return taskBeginDate;
	}

	public void setTaskBeginDate(Date taskBeginDate) {
		this.taskBeginDate = taskBeginDate;
	}

	public Date getFirstPlanFinishDate() {
		return firstPlanFinishDate;
	}

	public void setFirstPlanFinishDate(Date firstPlanFinishDate) {
		this.firstPlanFinishDate = firstPlanFinishDate;
	}

	public Date getPlanFinishDate() {
		return planFinishDate;
	}

	public void setPlanFinishDate(Date planFinishDate) {
		this.planFinishDate = planFinishDate;
	}

	public Date getActualFinishDate() {
		return actualFinishDate;
	}

	public void setActualFinishDate(Date actualFinishDate) {
		this.actualFinishDate = actualFinishDate;
	}

	public Float getPlanWorktime() {
		return planWorktime;
	}

	public void setPlanWorktime(Float planWorktime) {
		this.planWorktime = planWorktime;
	}

	public Date getTaskAcceptTime() {
		return taskAcceptTime;
	}

	public void setTaskAcceptTime(Date taskAcceptTime) {
		this.taskAcceptTime = taskAcceptTime;
	}

	public Integer getPlanFinishDateChangeCount() {
		return planFinishDateChangeCount;
	}

	public void setPlanFinishDateChangeCount(Integer planFinishDateChangeCount) {
		this.planFinishDateChangeCount = planFinishDateChangeCount;
	}

}
